package com.gsafety.wellsfort.domain.dto.courseware;

import com.gsafety.wellsfort.domain.model.knowledge.CoursewarePrivilege;
import com.gsafety.wellsfort.domain.model.knowledge.MaterialPrivilege;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class CoursewareDTO {
    private Integer id;
    @ApiModelProperty(value = "课件对象")
    private Integer objectType;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "关键字")
    private String keyword;
    @ApiModelProperty(value = "学习时长")
    private Integer learningTime;
    @ApiModelProperty(value = "课件文件URL")
    private String fileUrl;
    @ApiModelProperty(value = "启用状态:0禁用1启用")
    private Byte isOpen;

    @ApiModelProperty(value = "课件权限")
    private List<CoursewarePrivilege> coursewarePrivilege;
}
